/**
 * 
 */
package model.entity;

import model.map.MapPoint;

/**
 * @author Ozzy
 *
 */
public class Follow extends AIBehavior {

	/**
	 * 
	 */
	private Integer followRange;
	private Entity followTarget;
	public Follow(Integer followRange, Entity followTarget) {
		this.followRange=followRange;
		this.followTarget=followTarget;
	}
	
	public void moveToFollow(Entity e){
		MapPoint entityDirection = e.getDirection();
		
	}

	@Override
	public void update(Entity e) {
		MapPoint followTargetDirection=MapPoint.subtractPoints(followTarget.getDirection(), e.getDirection());
		
		int distance=MapPoint.findDistance(e.getDirection(), followTarget.getDirection());
			
		}
		
	}


